Optimal. Leaf size=17 \[ \frac{a A \cos ^3(c+d x)}{3 d} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0612404, antiderivative size = 17, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 3, integrand size = 30, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.1, Rules used = {3962, 2565, 30} \[ \frac{a A \cos ^3(c+d x)}{3 d} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 3962
Rule 2565
Rule 30
Rubi steps
\begin{align*} \int (a-a \csc (c+d x)) (A+A \csc (c+d x)) \sin ^3(c+d x) \, dx &=-\left ((a A) \int \cos ^2(c+d x) \sin (c+d x) \, dx\right )\\ &=\frac{(a A) \operatorname{Subst}\left (\int x^2 \, dx,x,\cos (c+d x)\right )}{d}\\ &=\frac{a A \cos ^3(c+d x)}{3 d}\\ \end{align*}
Mathematica [A] time = 0.0071892, size = 17, normalized size = 1. \[ \frac{a A \cos ^3(c+d x)}{3 d} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] time = 0.036, size = 35, normalized size = 2.1 \begin{align*}{\frac{1}{d} \left ( -{\frac{Aa \left ( 2+ \left ( \sin \left ( dx+c \right ) \right ) ^{2} \right ) \cos \left ( dx+c \right ) }{3}}+Aa\cos \left ( dx+c \right ) \right ) } \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] time = 1.07665, size = 49, normalized size = 2.88 \begin{align*} \frac{{\left (\cos \left (d x + c\right )^{3} - 3 \, \cos \left (d x + c\right )\right )} A a + 3 \, A a \cos \left (d x + c\right )}{3 \, d} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 0.471494, size = 35, normalized size = 2.06 \begin{align*} \frac{A a \cos \left (d x + c\right )^{3}}{3 \, d} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} - A a \left (\int \sin ^{3}{\left (c + d x \right )} \csc ^{2}{\left (c + d x \right )}\, dx + \int - \sin ^{3}{\left (c + d x \right )}\, dx\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] time = 1.35893, size = 76, normalized size = 4.47 \begin{align*} -\frac{2 \,{\left (A a + \frac{3 \, A a{\left (\cos \left (d x + c\right ) - 1\right )}^{2}}{{\left (\cos \left (d x + c\right ) + 1\right )}^{2}}\right )}}{3 \, d{\left (\frac{\cos \left (d x + c\right ) - 1}{\cos \left (d x + c\right ) + 1} - 1\right )}^{3}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]